package initializer;

import database.mediator.MediatorInterface;

public class DataBaseInitializer implements Initializer {

	public void Initialize(MediatorInterface mI) {
		//db_id(number), url, samplesize(number of samples by query), numberofwords, numberofdocuments, cs_path, index_path, local_path
		
		String source = "/proj/db/NoBackup/pjbarrio/sites/";
		String destiny = "/local/pjbarrio/Files/Research-Dataset/LuceneSites/";
		
		mI.writeDatabase(1,"http://www.hollywoodreporter.com",25,1000000,150000,destiny + "Movie-HolliwoodReporter-cs.txt",destiny + "Indexes/Movie-Holliywoodreporter",source + "Movie/Hollywoodreporter",10000,5);
		
//		csg.generateContentSummary("/proj/db/NoBackup/pjbarrio/sites/Movie/Hollywoodreporter/", "/local/pjbarrio/Files/Research-Dataset/LuceneSites/Movie-HolliywoodReporter", true, true);
		
		mI.writeDatabase(2,"http://www.bloomberg.com",25,1000000,150000,destiny + "Business-Bloomberg-cs.txt",destiny + "Indexes/Business-Bloomberg",source + "Business/Bloomberg",13000,4);
		
//		csg.generateContentSummary("/proj/db/NoBackup/pjbarrio/sites/Business/Bloomberg/", "/local/pjbarrio/Files/Research-Dataset/LuceneSites/Business-Bloomberg", true, true);

		mI.writeDatabase(3,"http://www.forbes.com",25,1000000,150000,destiny + "Business-Forbes-cs.txt",destiny + "Indexes/Business-Forbes",source + "Business/Forbes",12500,4);
		
//		csg.generateContentSummary("/proj/db/NoBackup/pjbarrio/sites/Business/Forbes/", "/local/pjbarrio/Files/Research-Dataset/LuceneSites/Business-Forbes", true, true);
		
		mI.writeDatabase(4,"http://www.people.com",25,1000000,150000,destiny + "Trip-People-cs.txt",destiny + "Indexes/Trip-People",source + "Trip/People", 11600,2);
		
//		csg.generateContentSummary("/proj/db/NoBackup/pjbarrio/sites/Trip/People/", "/local/pjbarrio/Files/Research-Dataset/LuceneSites/Trip-People", true, true);
		
		mI.writeDatabase(5,"http://www.tmz.com",25,1000000,150000,destiny + "Trip-TMZ-cs.txt",destiny + "Indexes/Trip-TMZ",source + "Trip/TMZ",14000,6);
		
//		csg.generateContentSummary("/proj/db/NoBackup/pjbarrio/sites/Trip/TMZ/", "/local/pjbarrio/Files/Research-Dataset/LuceneSites/Trip-TMZ", true, true);
		
		mI.writeDatabase(6,"http://www.cnn.com",25,1000000,150000,destiny + "General-CNN-cs.txt",destiny + "Indexes/General-CNN",source + "General/CNN",20000,5);
		
//		csg.generateContentSummary("/proj/db/NoBackup/pjbarrio/sites/General/CNN/", "/local/pjbarrio/Files/Research-Dataset/LuceneSites/General-CNN", true, true);
		
		mI.writeDatabase(7,"http://www.usnews.com",25,1000000,150000,destiny + "General-UsNews-cs.txt",destiny + "Indexes/General-UsNews",source + "General/UsNews",13000,3);
		
//		csg.generateContentSummary("/proj/db/NoBackup/pjbarrio/sites/General/UsNews/", "/local/pjbarrio/Files/Research-Dataset/LuceneSites/General-UsNews", true, true);

				
	}
	
}
